fix drep and add p51**