fixed error when calling `get_item` before creating the table