fix --all option so it actually works