fix EPVN code (Thank you Thomas Morin)