trying to fix loading error with convert days to week