fix, problem with older php version