remove a duplicate method declaration