code format correction