Fix exception bug when entering console commands in felix console