fix duplicate instance