fix ring reading
fix params reading