fix error in the prior