fix bug in serviceCache
finally error handling works, it's a little harder to debug when you enable the domain, cause it will catch all the errors so you could not see clearly where is the problem