remove err throw