remove err argument in panic