fixing notifications and less queries for _addflow view