errors and config