shellcheck fixes