added alert to clear data