delete unusing val
fix segmentation error
fix #63 (test for 2.8)