fix type error on attribute id name