Fix bug on view (error div always there)