fix problem with local decks deletion