removing php syntax error