make selection stable