run code review tools
replaced grep to hash and exists