fix home page view, solve wrong field type on edit user profile page