xrandr: fix errors