make work on OSX again