modified plot penalty to turn off pFlag