small fix in the .reg genretation