Removed extra ErrMsg().