fix loading dailog