check for references; fix of the last fix