a bug fix with getting empty data in content view