Changed the query and disabled redis