fix method re-declaration