fixed up codestyle of prior contribution to ensure build works