fix rel-nonrel transition