reformat import code