Fix for overwriting not working.