scope buffer: clean imports