Fixed bug from HW6.1
Retab