Modify compact-status function