changed from error to warning when figure labels detected
refined error messages