change some function's types