Fixing isFull method