fixes rm and start commands