Thermal or non-thermal X-rays from AGNs?