fixed p4-6 output