fix duplicate expression! thanks cppcheck!