fix compile bugs in concurrent_session