FIX wrong substition in queries

The dollar-sign before the curly braces are not necessary and breaks the execution of the queries due they got part of it.