bug fixed. late coding is not good.