Corretto Notice Undefined variable: clearData