fix bugs in drupal instance configuration