fixing relative path problems in imports