support inner element states