Fix itemReady not found error