remove if condition that always return true