fixed errors caused by including services not defined yet