fixes for not launching on some systems