bug fixed: set alert message was overriden by the message element property