typo and switch to the simpler openSync