add item status, fix mysqli issue