Fix typos, style function calls