fixed graph not showing data issue