fix selected error