Fix wrong method calling