Orthogonalization of correlated states