fixes PMD stuff