fixing relative assignment