emergency fix for application delete bug