fix math headers