Fix trivial error in framework.

Thanks to  Philippe LUC for reporting this problem.