fixed minor bugs

nothing big