changes to fix ampersands in codes