Fatal error fix on php 5.3