fixed registry build options error