remove node from favourites before delete if necessary