Fixed geometry error (probably)