fix Task import error when no notification