Fixed: data getting from model moved to the controller from the view