correlation php fix