made handles work in FF and Chrome