[BUG,IMP] refactoring box status logic flow