stupid fucking piece of shit typo...there was nothing wrong with the code....i was just misreading the error, bad variable! bad boy! Don't do that to daddy!