fixed minor selection problem