remain compilable with go1.0.2 by avoid final call to panic