Fixing the selector to work cross platform.