fix for item.type on android