cleanup, rescue type exception in cli top level