fix pimh plot