Fix wrong method calling.