Fix shellcheck issues