class library: adjust code format fix