fixed possible NPE
fixed possible NPE
fixed possible problem with closed DB
synchronisation added: possible NPE fix
version => 2.0.5