fixed playing bug