BUG: fix transform with integers