fix references