Fixed selection error