fixed showSelection mode