bugfix: nested functions at the position of defval didn't work