add wrong entity detection