fix blocks double-registering