fixed bug with feed being undefined