go: type assertion fix