fixed all method to return value of view