fixing relative imports for python2/3 compatibility