I think that finding elements by name was depreciated in 1.5:
There is discussion in the link of possible solutions.