Fix code according to drupal coding standards