fix cache not deleting entry (#215)