fix some errors on command not found