fixed delete issue