Make compatible php 5.3