fix text replacing and css for query_check children