formatting and datasourceerror dismissing curtain.