Fix crash bug in api/quickstatus