Fix the bugs but have not implemented the feature of invoking the wyrt
function.