fixed bug causing overwritting when --org flag used