fix a bug that is not working on spotlight