Is a cast to string missing?