fixed case-sensitivity of $this and $GLOBALS