handling error/bootstrap cases