Correcting syntax errors on Mac side.