Changing the method when getting the varibles on the hit_api view