comments / fix typecast