added check for NoneType
added support nested PlaneDict