Syntax Error Near Unexpected Token Check