Translate relative path to absolute path to avoid some problem