removes duplicate
use the canplay event