Fixing up reg process