modify for test

modify get id by complete path function
add type merge