chore: fixed a couple of stupid bugs