Change message-confirm to messageconfirm to avoid exception