fix formatting of module function