cleaner output
detect globals