Fix select mode