trying to track down the unintended String to Integer conversion