reduce cost for exists check
reduce cost for exists check