fix bug register reset form