error with escaping strings