stupid variable declaration error