fix incorrect method params