fixed some minor bugs

just letting you know what I changed