fixed a problem that occurs segmentation fault 11 on specified environment.