fixed bug in play func