minor change
train, check error successively