change absolute path to relative path for localhost debug