fix for php strict