Finalizing validation for patent creation and bug fix