better fix for the 0 hierarchy