gorm examples fix