frappe/frappe#478, fixed list passed in