add image
library goematric
fix some bugs