Fix database details