Fix minor formatting issue in functions