variable overwrite fix