fixing seralization issue with sample