Fix the getSubItems