Bug fixed in assigning geometry