fixed issue with multiple ^'s