Fixed: compatibility php 5.3