add gap to output
bug fixed