minor formatting tweak;
fixed the missing global;
resolves http://bugs.web2project.net/view.php?id=1322