fix for selenium tests