turning off the isloading flag