fix issue with undefined future_id