fixed syntax error and fixed temp hardcoded server