removes unecessary extension for bash_profile