try to fix variable overwriting