Fixes vulnerability to loss