fix duplicate method