fix for messages on reg form and user edit form