Fix global param bug (sorry for the whitespace cleanup)