added new lines in generated sql query