Fixing Logical Error in Position