sanitize train data