Fix the KeyParam call problem