fixed bug where initial data not showing up