dom compontent bug fixes