fixed display selection bug