bugfix if ringinfo is empty