Fix bug: delete only data retrieve by data method function