fixed loading text hiding bug