fix virtual path gen

resolve #11