Fixed pm module errors