fix for the offline data issue..