change pacman detection