rm 'ws' in sql statement
Avoid 'undefined' in icon's name.