genericize base title
fix query, correctly copy array