print check double smell in query