fixed os x comand line problems