변경된 cast object에 따라 변경 및 정리.