fixes for psinting front pg