def get_sanitised_params(q, l):
    """Remove spaces from params and make lowercase."""
    query = q.lower().replace(' ', '_').replace('-', '_')
    loc = l.lower().replace(' ', '_').replace('-', '_')
    return query, loc
