Remove error altert and fix css class