Fixed bug1 ~ bug10