added sleep after doubleClick