fix dispatcher fail in Windows
fit restrict standard in call_user_func