added `__` to sql queries