adding json headers
refresh time correction