change database bug