Code format cleaning