solve error when edit detail on check in