Fixed: bug with supressing error with design mode