Removes the unneccesary intval