fixed the code format #2880