adjust the codes style to match the code review provided by coder to meet the Drupal standards