make sure the selection working