diff --git a/gnome-sudoku/src/lib/gsudoku.py b/gnome-sudoku/src/lib/gsudoku.py
index f10a068..1140c9b 100644
--- a/gnome-sudoku/src/lib/gsudoku.py
+++ b/gnome-sudoku/src/lib/gsudoku.py
@@ -84,7 +84,7 @@ class NumberSelector (gtk.EventBox):
             db.add(l)
             l.show()
             db.connect('clicked', self.number_clicked, 0)
-            self.table.attach(db, 0, side, y+1, y+2)
+            self.table.attach(db, 0, side, side + 1, side + 2)
         self.show_all()
 
     def number_clicked (self, button, n):
