fixing other errors