Fix reset form in sample