fixed bug in sql-creator concearning parenthesis of functions