Fixed ref to java attribute