found out about constructor change in php 5.3.3