fixed DOM ordering issue
version