Bug Fix in doPlay