fixed issue with entry deletion