fix error report when loading items js