minor fixes

take care of #36 #182