added a message if the fileds are empty