convert path to absolute on import