trying to fix wierd syntax error