Replace generated wrong path