set right paths in extend