fix pull a and p