bugfixes

there was a possible bug with the quickfix for the pht problem