changed string field to text field in orders table