Fixed crash when Date fragment appeared