fixed study session merge