Fixed setAtrribute