changed warning message for blank Objective

From #990

Changed warning message for blank Objective.