add some path variable method to get param