apply dirty hack to each list element