Fixing problem with design time