fix osxclient syntax errors