remove unnecessary data attribute