rescue some errors to make cli cleaner