indent init

modify indent bug
add init to output file