fixed usage of magic getter and setter vs normal get and set functions
changed in Elgg 1.9