Fixes reloading of sample