scan not working