Adding head patch to stop crash when head isn't empty