try to fix dialog problem