fixed some minor bugs, working fine now