Only apply  command in P mode