fix thrown errors