fixed some other errors