Little fixes detected with http://www.shellcheck.net/