fixed bugs i made