Fixed bug where the wrong field was printed in local mode