fixedd three bugs including the"big one"for3rdtest