wups, fix possible func issue