fix some relative+absolute path and avoid some logfile warnings