diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
index 0b071513b46c70a6ea16682b55fdd991d6692c46..d33d692bdc5fa73cd88ef60df5c33957b704d9d1 100644
--- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
+++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
@@ -95,7 +95,7 @@ public class CouchDBDao implements IDatabaseDao {
 	@Override
 	public final Session getSession(final String keyword) {
 		final Session result = getSessionFromKeyword(keyword);
-		if (result != null && result.isActive()) {
+		if (result != null) {
 			return result;
 		}
 
@@ -1352,7 +1352,7 @@ public class CouchDBDao implements IDatabaseDao {
 		int progress = 0;
 		if (!progressValue.isEmpty()) {
 			if (progressValue.get(0).optJSONArray("value").isArray()) {
-				JSONArray courseProgress = progressValue.get(0).getJSONArray("value");
+				final JSONArray courseProgress = progressValue.get(0).getJSONArray("value");
 				progress = courseProgress.getInt(0) / courseProgress.getInt(1);
 			} else {
 				progress = progressValue.get(0).getInt("value");