fixing this for drupal 7