Fix Drupal resource observer bug and ide creation bug