add warning for unrecognized references