bug fixes to render the form in checkout page