[fix] small coding fixes