fixed design-time error