make code php 5.2 compliant