fixed to raise Foreman::Exception