add P5chr and fix pragma bytes