change the method of parsing JPath(prototype)