bug fix in spotlight saving method