*****
FIXED
*****

had a typo in the url, so the variables were getting set incorrectly, i knew it would be something simple, but never thought about the problem being in the url.