[code] minor updates