fix broken register closes #76