fixreferences