resolved cppcheck warning [reorder
]