add directive for plapprmagicdiv