resolving validation issue