make references absolute