fix incorrect method signature