fixing relative path problems #1