register sizing fixes