- fixed some small php syntax errors