fixed bug database