fixed mistakes using massive find and replace