fixed an error in grettir