fixed a bug that leads to a deadlock. fixed a bug where incfsz wouldn't skip the next operation when the result is zero