minor changes and fix adding of study group