FIX: fixed sql in itemlist FIX: error logging message