use field name in warning msg instead of generating a php warning