On modified Chebyshev polynomials