Fixed fatal error of merging.