Fix database information for variables