change class ref