fix symbol table error - scope definition