bug fixed

bug fixed. codes modified.