fixed resolving for paths with plugin