ensures error messages are passed through