more cleanup for selenium