pmtools fix