(hopefuly) fixed "recreation of fragments" bug