fix stop controller if no instance present