error for operators, head function fix