fixed all the errors my local had