Fix div error when message is passed

Div error