delete error-throwing -rm command