change relative directory to absolute one