fix bug for play state