fixed php headers generation