quick fix for non existing 'to' key in kwargs