style / safety / fix compile