remove autodiscover, add to app ready method