fix bug #14, fix nest loop error
update version