fix entry add, delete and modify