Fix database option