prompt fixes for MacOS X