Simple fix to make recursive functions work.