showing loading indicator, but disappears too soon