Fix failing code in HHVM