fix 0 step bug