fix for android phones when getItem returns null