Escape string properly.