some compiler fixes for recur