fix error about importing in different directory