Fixed diagnostic error for head_axis