apply correct code format