references fixed