fixed #308 - import folding

positions involving indents and newlines were wrong