clearData bug fixed