fix indent supplied amount validation issue