bug fix on php session driver