fix bugs load controllers