Fix mistake on ! and ^