fixed play/pause issue