minor bugs correction