Fragment instantiation bugfix