bug fix with root category parent id

Signed-off-by: bovitobo <bovitobo@yahoo.com>