change get_called_class to get_class($this)
Merge pull request #423 from prolic/patch-2

change get_called_class to get_class($this)