fixed weird header problem