fixed duoble bug