fix previous bugfix-itroduced bug.