fix Maximum function nesting level