fixed chdir path for server