workaround design time exception