deal with an exception on command, add features