fix wrong relative to absolute conversion