do not return null tree
fix layout of SDF