fix "unchecked call to gotElement" warning.