Fix format code