fix for output of custom message