fix for deletes and gets