delete gem better error