patched NPE in Feed API code