fixes to PMX