adding log for debug

debugging random machine gun affect when page switched