Fix stupid errors and bad links