CYKLO-916: workaround for javac "inconvertible types" error