changed: made compatible with Elgg 1.8.14