database bug fixed.