Fixed the bug with dual objects