add case aware logic to form exports