fixing some other errors