fixed minor issue in formatter