Fixed incorrect calls in two places.