fixing relative imports to be absolute in the events api file