upload some corrections into the code