minor patches

thanks for the lib.  got caught up on these so figured I send in the pr.