updated minor bugs