design time errors fix