bugfix to selenium tests