Fixed errors with Domain and recipe loader