registration fixes
Closing orders. Resolves #12