rk class bug fixed