fix method headers