try to get it running on php 5.3