fixed issue related to output of complex paths