Abnormal behaviour when using callback two times in the same script

It rewrites p after the first call back need to duplicate it as well.