getting the model property hidden attribute to work