Fix on repeat element requiring the class to be the same with id.