Quick fix based

https://github.com/facebook/hhvm/issues/3417#issuecomment-52385791