small fixes from thomas' development tree

fixes a typo and restore pypi register feature