FIX: get closure to stop complaining about missing undefined parameter