deal with absolute and relative imports