PHP5.5

Fix for php 5.5