fix dialog bug
fix dialog bug another place