code cleanup
Merge https://github.com/friendica/red into zpull
small changes to a couple of lookup functions which we need to use a bit more