fixed minor bugs
bug fixed