fixed issue with php version dependency