fix some phpdocs content
remove an unused global