Fix a problem that causes input block to be zero