restored back original query