changing path to appropriate value