Fixed head errors