fixed bug with absolute path