use p() for the output and not for the comparison

use p() for the output and not for the comparison