fix bug in clean imports