clean up bugs with actionlistener c/o of jre implementations