working around OSX crapulence (PS1 clobbering)