fix the crash caused by constructor of Fragment