Fixed resource bug after multiple plays