fixed libary to make /root instead of /home/root work