Fixed =~ bug