fixed an error in arni