fixed for php update