Fixed to comply with cppcheck