To fix crash when copy dictionary.
To correct layout.