Fixed pacman bug