changed output format for debug printing of 3d flags