fix database recipe