fix static:: php 5.2 issue