Fixed a wrong method call error