fixes -ip command line