little bugfixes

products management bugfix when no data strange behaviour