*Restoring buffer fixed number  in run thread
*Correcting indentation