fixed an issue with a state of registered applications