changes flash to flash.now in cats controller