Fixed #2.

add current folder function.fixed #2.