It looks like you are doing $10_2 - 1_2 = 1_2$ Remember what the positional notation means in base $2$: Each place is twice the previous one. Expressedin base $10$, this is $2-1=1$. When you do $$\begin {align}10_2&\\\ \underline{-\quad1_2}&\\\ 1_2&\end {align}$$ you recognize that the $1$ in the twos place in the top line represents two in the ones place (but you don't have a symbol for that in base $2$). It is exactly the same as $$\begin {align}10_{10}&\\\ \underline{-\quad6_{10}}&\\\ 4_{10}&\end {align}$$