fixed more snippet bugs
at good stopping point