replace id by class, id must be unique