breakout of loadItem if data still undefined to prevent page loading issues