fix bug on imports