fixed dumb stuff with pmi