Fixes for database kropotkin