fix ltquery in page and memcache script