workaround for dommy show/hide bug"