fixing bug in JRef class