fix getElementsByClassName