CHANGE correct rm output with eeror msgs