Fix incorrect method calling