fixed the bug of the mysterious zero