fix randomPoem error