modify minor bugs