fix bug action in windows platform