fixing all the messed up files