encode also query string