Add missing typecast