Code format correction