better hideLoading