fix query method for feed