fixed autoPlay bug (duplicated call to auto play)