fix header for compatibility