fixing code format