try another way to save attribute