errors fixed hopefully