Fixed incorrect call to methods