resolved segfault err windows