Fix for snap 1.0