added func_head; added another fix function to tests