Removing deprecated error on php > 5.5 (temp hack)