Fixed empty html flash messages bug