input fields errors handling update#1