bug #3140: removed not defined variable