fixed invalid method calls