Fix mistakenly modified method