fixes relative addresses