Bugfix

Was giving double arguments to the queries and commands