debug: segmentation error when use not define variable