fixed syntax errors to get site running on linux