should not print out extra space at beginning