fix: stuck output bug