fix http request and rendering conflict