get and clean data material