Fixed the accepted modes flaw.