Fix P in wrong location