Applied erd fix