load data only when no loading is going on