Solved permanent compare issue