fixed crash due to change in go/types