fixed issue with play() callback