fixing p