fixes issue with params path being incorrectly genereated with resources that consist of mutliple words