Bug fixed concerning method and optimize. Last method was not read properly and old code defaulted to superci even with nstate not equal to 1.