DATACASS-145: corrected cast