update warning from attribute syntax
fix field privacy