resolved loadHeader bug and set p limit at 5