fix rtmedia query call on each page