Fix app deletion