fix twice loading