fix bugs and click ok
remove previous selection