fixed bug when enter data in item