fixed status-check in AppServiceHelper