#52 implementet day check and get the right service id
fix for last commit