ErlendSB's fix for LFM PG