fix import in appointment task