Fixed smart completion at offset 0