warning in case a reference is inconsistent