minor bugs resolved