bugs fixed at FuncDecl