Fixed sharing ids classes not working properly