fixed some bug with the play button