fixed passing of sql code