fixed bug about basecontroller not being inherited from subdomaincontroller