Sometimes an empty line appears below the custom message  How to fix?