fix makeRefTo