[code] fixed coding rulz errors