in case of error don't close window
create new instance