clean extract data