fixing some methods on the views