move setting of Controller._instance up right after check
fix for 2460
fix for 2498