fixed bugs in play