Fix variable type in reset form