Database_up fix