Revert "avoid possible nil attributes"
Revert "avoid possible nil attributes"

This reverts commit 0a6703c7f7c0341f436b2d31745a85108127cec4.

chrislusf/seaweedfs,chrislusf/seaweedfs,chrislusf/seaweedfs,chrislusf/seaweedfs