clean up for use on mac