fix method signature bug