fixed bug in data storage (forgot to escape strings in SQL Statements)