small fix for recurrences