changes for Elgg 1.9