fix mass selection bug due to localization