handle extjs reponse : prevent wrong data writing