added pacman.conf check and minimal fixes