bug fix for appointments not getting imported.
more fix