Change fail to panic