fix duplicate definition