modified  variable to not include client path